package com.ht.pms.core.dto;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author 喻尊龙
 * @since 2018-12-18
 */
@ApiModel
@TableName("dd_user_syn")
public class DdUserSyn extends Model<DdUserSyn> {

    private static final long serialVersionUID = 1L;

	@TableId(value="id", type= IdType.AUTO)
	@ApiModelProperty(required= true,value = "")
	private Long id;
    /**
     * 用户ID
     */
	@TableField("user_id")
	@ApiModelProperty(required= true,value = "用户ID")
	private String userId;
    /**
     * 用户名
     */
	@TableField("user_name")
	@ApiModelProperty(required= true,value = "用户名")
	private String userName;
    /**
     * 机构编码
     */
	@TableField("dept_id")
	@ApiModelProperty(required= true,value = "机构编码")
	private String deptId;
    /**
     * 邮箱
     */
	@ApiModelProperty(required= true,value = "邮箱")
	private String email;
    /**
     * 身份证号码
     */
	@TableField("id_no")
	@ApiModelProperty(required= true,value = "身份证号码")
	private String idNo;
    /**
     * 手机号码
     */
	@ApiModelProperty(required= true,value = "手机号码")
	private String mobile;
    /**
     * 工号
     */
	@TableField("job_number")
	@ApiModelProperty(required= true,value = "工号")
	private String jobNumber;
    /**
     * 岗位名称中文
     */
	@ApiModelProperty(required= true,value = "岗位名称中文")
	private String position;
	@ApiModelProperty(required= true,value = "")
	private String extend1;
	@ApiModelProperty(required= true,value = "")
	private String extend2;
	@ApiModelProperty(required= true,value = "")
	private String extend3;
    /**
     * 创建时间
     */
	@TableField("create_datetime")
	@ApiModelProperty(required= true,value = "创建时间")
	private Date createDatetime;


	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getDeptId() {
		return deptId;
	}

	public void setDeptId(String deptId) {
		this.deptId = deptId;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getIdNo() {
		return idNo;
	}

	public void setIdNo(String idNo) {
		this.idNo = idNo;
	}

	public String getMobile() {
		return mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	public String getJobNumber() {
		return jobNumber;
	}

	public void setJobNumber(String jobNumber) {
		this.jobNumber = jobNumber;
	}

	public String getPosition() {
		return position;
	}

	public void setPosition(String position) {
		this.position = position;
	}

	public String getExtend1() {
		return extend1;
	}

	public void setExtend1(String extend1) {
		this.extend1 = extend1;
	}

	public String getExtend2() {
		return extend2;
	}

	public void setExtend2(String extend2) {
		this.extend2 = extend2;
	}

	public String getExtend3() {
		return extend3;
	}

	public void setExtend3(String extend3) {
		this.extend3 = extend3;
	}

	public Date getCreateDatetime() {
		return createDatetime;
	}

	public void setCreateDatetime(Date createDatetime) {
		this.createDatetime = createDatetime;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "DdUserSyn{" +
			", id=" + id +
			", userId=" + userId +
			", userName=" + userName +
			", deptId=" + deptId +
			", email=" + email +
			", idNo=" + idNo +
			", mobile=" + mobile +
			", jobNumber=" + jobNumber +
			", position=" + position +
			", extend1=" + extend1 +
			", extend2=" + extend2 +
			", extend3=" + extend3 +
			", createDatetime=" + createDatetime +
			"}";
	}
}
